FUNCTION

is_signer

function is_signer(pubkey: byte_array): boolean

Deprecated: Use 'op_context.is_signer' instead

Check if a given public key is a signer of the current transaction; i.e. if it's in the list of signers returned by op_context.get_signers().

Parameters

  • pubkey — the public key to check

Returns

true if the given public key is found, false otherwise

Since

0.6.0

© 2026 Chromia